﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BaseData.Domain
{
    /// <summary>
    /// 流程记录表
    /// </summary>
    public class WF_Recode
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int RecodeId { get; set; }
        /// <summary>
        /// 实例编号
        /// </summary>
        public int InstafreId { get; set; }
        public int LeaveId { get; set; }
        /// <summary>
        /// 状态编号
        /// </summary>
        public int StarterNodeNo { get; set; }
        /// <summary>
        /// 状态名称
        /// </summary>
        public string EnderNodeName { get; set; }

        /// <summary>
        /// 操作人编号
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 操作人名称
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 意见
        /// </summary>
        public string? YiJian { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 审批通过、不通过
        /// </summary>
        public int Pass { get; set; } = 0;
    }
}
